of Dynamic Key
Builds a ValidatedIdentifier based on an allowable registry of values, defined from a RegistryKey
Used primarily for dynamic registries that aren't synced to clients (Loot registries, primarily)
Return
ValidatedIdentifier wrapping the provided registry
Author
fzzyhmstrs
Since
0.5.6
Parameters
the default value of the ValidatedIdentifier
RegistryKey for the registry whose ids are valid for this identifier
String unique id for the predicate provided; used to properly sync ids that this predicate cares about
Predicate
Builds a ValidatedIdentifier based on an allowable registry of values, defined from a RegistryKey
Used primarily for dynamic registries that aren't synced to clients (Loot registries, primarily)
Uses "minecraft:air" as the default value
Return
ValidatedIdentifier wrapping the provided registry
Author
fzzyhmstrs
Since
0.5.6
Parameters
RegistryKey for the registry whose ids are valid for this identifier
String unique id for the predicate provided; used to properly sync ids that this predicate cares about
BiPredicate